package com.wsoft.bpm.enums;

import lombok.Getter;

/**
 * 动态上级类型
 *
 * @Author zhonglj
 * @Date 2024-10-19 15:53
 */
@Getter
public enum DynamicApprovalType {

    /**
     * 指定上级
     **/
    ASSIGNED_SUPERVISOR("assignedSupervisor", "指定上级"),
    /**
     * 连续上级
     **/
    CONTINUOUS_SUPERIOR("continuousSuperior", "连续上级"),
    /**
     * 部门负责人
     **/
    DEPARTMENT_HEAD("departmentHead", "部门负责人"),
    /**
     * 自选人员
     **/
    OPTIONAL_PERSONNEL("optionalPersonnel", "自选人员");

    private String value;
    private String description;

    DynamicApprovalType(String value, String description) {
        this.value = value;
        this.description = description;
    }
}
